bitkeeper revision 1.1159.229.1 (41f6445fD7VhZd6QcRqU9K9iqEPPzQ)
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Tue, 25 Jan 2005 13:06:39 +0000 (13:06 +0000)
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Tue, 25 Jan 2005 13:06:39 +0000 (13:06 +0000)
Don't silently ignore failures while building kernels.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
Signed-off-by: ian.pratt@cl.cam.ac.uk
Makefile

index 924fbfbaca08bc8dd9846e263a7a572abcd70fb8..8e2988dc080c1861c32cf0d3a4a3dbabc56d7447 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ INSTALL_DIR   := $(INSTALL) -d -m0755
 INSTALL_DATA   := $(INSTALL) -m0644
 INSTALL_PROG   := $(INSTALL) -m0755
 
-KERNELS ?= linux-2.6-xen0 linux-2.6-xenU
+KERNELS ?= linux-2.6-xen0 linux-2.6-xenU  linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU
 # linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU
 # You may use wildcards in the above e.g. KERNELS=*2.4*
 
@@ -65,7 +65,7 @@ tools:
        $(MAKE) dist=yes -C tools install
 
 kernels:
-       for i in $(XKERNELS) ; do $(MAKE) $$i-build ; done
+       for i in $(XKERNELS) ; do $(MAKE) $$i-build || exit 1; done
 
 docs:
        sh ./docs/check_pkgs
@@ -84,7 +84,7 @@ kclean:
 
 # Make patches from kernel sparse trees
 mkpatches:
-       for i in $(ALLSPARSETREES) ; do $(MAKE) $$i-xen.patch ; done
+       for i in $(ALLSPARSETREES) ; do $(MAKE) $$i-xen.patch || exit 1; done
 
 
 # build xen, the tools, and a domain 0 plus unprivileged linux-xen images,